<f:layout name="Admin" />


<f:section name="main">
<h1>Thema Liste</h1>

<f:flashMessages />

<table class="currtable"
				style="border-collapse: collapse; width: 100%; margin-bottom: 0.5em;">
				<tr class="trohead2">
		<th><f:translate key="tx_ifpcurriculum2_domain_model_thema.code" /></th>
		<th><f:translate key="tx_ifpcurriculum2_domain_model_thema.name" /></th>
		<th><f:translate key="tx_ifpcurriculum2_domain_model_thema.beschreibung" /></th>
		
		<th> </th>
		<th> </th>
	</tr>

	<f:for each="{themen}" as="thema">
		<tr  class="trelemento">
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{thema : thema}' />">{thema.code}</td>
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{thema : thema}' />"><f:link.action action="adminshow" arguments="{thema : thema}"> {thema.name}</f:link.action></td>
			<td onclick="<ifp:CreateURI action='adminshow' arguments='{thema : thema}' />">{thema.beschreibung}</td>
			<td><f:link.action action="edit" arguments="{thema : thema}">Edit</f:link.action></td>
			<td><f:link.action action="delete" arguments="{thema : thema}">Delete</f:link.action></td>
		</tr>
	</f:for>
</table>

<f:link.action action="new">New Thema</f:link.action>
</f:section>